﻿using System;

namespace HumanManagement.BusinessObjects
{
	public class FamilyRelationship
	{
		#region ***** Fields & Properties ***** 
		private int _ID;
		public int ID
		{ 
			get 
			{ 
				return _ID;
			}
			set 
			{ 
				_ID = value;
			}
		}
		private int _FamilyRelationshipCategoryID;
		public int FamilyRelationshipCategoryID
		{ 
			get 
			{ 
				return _FamilyRelationshipCategoryID;
			}
			set 
			{ 
				_FamilyRelationshipCategoryID = value;
			}
		}
		private int _PersonalProfileID;
		public int PersonalProfileID
		{ 
			get 
			{ 
				return _PersonalProfileID;
			}
			set 
			{ 
				_PersonalProfileID = value;
			}
		}
		private string _FullName;
		public string FullName
		{ 
			get 
			{ 
				return _FullName;
			}
			set 
			{ 
				_FullName = value;
			}
		}
		private DateTime _DateOfBirth;
		public DateTime DateOfBirth
		{ 
			get 
			{ 
				return _DateOfBirth;
			}
			set 
			{ 
				_DateOfBirth = value;
			}
		}
		private int _OccupationID;
		public int OccupationID
		{ 
			get 
			{ 
				return _OccupationID;
			}
			set 
			{ 
				_OccupationID = value;
			}
		}
		private string _Address;
		public string Address
		{ 
			get 
			{ 
				return _Address;
			}
			set 
			{ 
				_Address = value;
			}
		}
		private string _IdentificationNumber;
		public string IdentificationNumber
		{ 
			get 
			{ 
				return _IdentificationNumber;
			}
			set 
			{ 
				_IdentificationNumber = value;
			}
		}
		private DateTime _EffectiveDate;
		public DateTime EffectiveDate
		{ 
			get 
			{ 
				return _EffectiveDate;
			}
			set 
			{ 
				_EffectiveDate = value;
			}
		}
		private DateTime _ExpireDate;
		public DateTime ExpireDate
		{ 
			get 
			{ 
				return _ExpireDate;
			}
			set 
			{ 
				_ExpireDate = value;
			}
		}
		private DateTime _LastDate;
		public DateTime LastDate
		{ 
			get 
			{ 
				return _LastDate;
			}
			set 
			{ 
				_LastDate = value;
			}
		}
		private int _LastMakerID;
		public int LastMakerID
		{ 
			get 
			{ 
				return _LastMakerID;
			}
			set 
			{ 
				_LastMakerID = value;
			}
		}
		private int _LastApproverID;
		public int LastApproverID
		{ 
			get 
			{ 
				return _LastApproverID;
			}
			set 
			{ 
				_LastApproverID = value;
			}
		}
		private string _FamilyRelationshipStatus;
		public string FamilyRelationshipStatus
		{ 
			get 
			{ 
				return _FamilyRelationshipStatus;
			}
			set 
			{ 
				_FamilyRelationshipStatus = value;
			}
		}
		#endregion

		#region ***** Init Methods ***** 
		public FamilyRelationship()
		{
		}
		public FamilyRelationship(int id)
		{
			this.ID = id;
		}
		public FamilyRelationship(int id, int familyrelationshipcategoryid, int personalprofileid, string fullname, DateTime dateofbirth, int occupationid, string address, string identificationnumber, DateTime effectivedate, DateTime expiredate, DateTime lastdate, int lastmakerid, int lastapproverid, string familyrelationshipstatus)
		{
			this.ID = id;
			this.FamilyRelationshipCategoryID = familyrelationshipcategoryid;
			this.PersonalProfileID = personalprofileid;
			this.FullName = fullname;
			this.DateOfBirth = dateofbirth;
			this.OccupationID = occupationid;
			this.Address = address;
			this.IdentificationNumber = identificationnumber;
			this.EffectiveDate = effectivedate;
			this.ExpireDate = expiredate;
			this.LastDate = lastdate;
			this.LastMakerID = lastmakerid;
			this.LastApproverID = lastapproverid;
			this.FamilyRelationshipStatus = familyrelationshipstatus;
		}
		#endregion
	}
}
